<template>
    <div>
        <el-card style="max-width:480px">
            <template #header>
                {{ student.name }}<br>{{ student.sex=='m'?'male':'female' }}</template>
            <img :src="student.photo" style="width: 100%;" >
        </el-card>
    </div>
</template>

<script>
    export default {
        props:['student'],
    }
</script>

<style lang="scss" scoped>

</style>